package com.lujianfei.waterpower.ui.power;

import android.content.Context;

import java.util.List;

public interface PowerContract {
    interface Model{

        List<PowerEntity> getData();

        String getShareContent(Context context,PowerEntity powerEntity);
    }
    interface View{

        void updateData(List<PowerEntity> powerEntities);

        Context getContext();
    }
    interface Presenter{

        void loadData();

        void openPowerAdd();

        void showOperDialog(PowerEntity powerEntity);
    }
}
